<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<% 
	String flag = request.getParameter("flag");
	if(flag!=null&&flag.equals("yes")){
		session.removeAttribute("login");
		session.removeAttribute("operator");
		response.sendRedirect("login.jsp");
		return;
	}
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'exit.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body align="center">
  <br><br><br><br><br>
     <h2 align="center"><font color="red"> 是否真的要退出？</font></h2>
     <br><br><br>
     <h3 align="center">
     <form action="exit.jsp" method="get" >
     	<input type="button" onclick="javascript:history.back()" value="取消">
     	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     	<input type="hidden" name="flag" value="yes"> 
     	<input type="submit" value="确定">
     </form> 
     </h3>
  </body>
</html>
